import request from '@/utils/request.js'

export function getPersonList(data){
	return request({
		url:'/record/person/my/list',
		method:'get',
		data:data
	})
}

export function addPerson(data){
	return request({
		url:'/record/person',
		method:'post',
		data:data
	})
}

export function deletePerson(data){
	return request({
		url:'/record/person/'+data,
		method:'delete'
	})
}

export function getPerson(data){
	return request({
		url:'/record/person/'+data,
		method:'get'
	})
}